function mover(object){
	for(var i=1;i<7;i++)
	{
		var mdef=document.getElementById("m_"+i);
		var sdef=document.getElementById("s_"+i);
		mdef.className="m_li";
		sdef.style.display="none";
	}  
  var mm=document.getElementById("m_"+object);
  mm.className="m_li_a";
  var ss=document.getElementById("s_"+object);
  ss.style.display="block";
}
function mout(object){

/*	for(var i=1;i<6;i++)
	{
		var mdef=document.getElementById("m_"+i);
		var sdef=document.getElementById("s_"+i);
		mdef.className="m_li";
		sdef.style.display="none";
	}  
	if(def!=0){
    var mm=document.getElementById("m_"+def);
    mm.className="m_li_a";
  }
	 if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="block";
  }
  */

}


function check_form(ifidname,byidname){

	  var ifidname;
	  var byidname;

		if (ifidname)
		{
			document.getElementById(byidname).style.visibility = "visible";
			return false;
		}else{
		    document.getElementById(byidname).style.visibility = "hidden";
			return true;
		}

}

function check_email(strEmail) {
	 var emailReg = /^\w+([\.\-\+]\w+)*\@\w+([\.\-]\w+)*\.\w+$/;
	 if (emailReg.test(strEmail))
	 return true;
	 else
	 return false;
 }